<?php
include  __DIR__.'/common/common.php';//删除
$uid=(int)$_POST['uid'];//接收由前端传输的过来的uid
$sql="DELETE FROM `brand`  WHERE uid=$uid ";
$bool=mysqli_query($mysql,$sql);
if ($bool)
{
    echo 'ok';
}else{
    echo 'no';
}